<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<script type="text/javascript">

</script>
<c:if test="${code==1}">
<form class="pageForm required-validate" action="orderMoneyCheckAction.action?rightId=${rightId}" method="post"  onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageHeader">
			<input type="hidden" name="init" value=0>
			<div class="searchBar">
				<table class="searchContent">
					<tr>
						<td><input type="hidden" name="id" value="${id}"></td>
						<td>年份: ${year}
						</td>
						<td>月份: ${month}
						</td>
						<td>金额: ${money}
						</td>
						<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
						<td>
						<select name="orderCountCheck">
						<option value="1">通过</option>
						<option value="0">不通过</option>
						</select>
						</td>
						<td>
							<div class="buttonActive">
								<div class="buttonContent">
									<button type="submit">审核</button>
								</div>
							</div>
						</td>
					</tr>
					
				</table>
			</div>
		</div>
			<div class="pageContent">
			<div class="panelBar">
				<ul class="toolBar">
					<c:forEach items="${righSubtList}" var="rightsub">
					</c:forEach>
				</ul>
			</div>
			<table class="list" width="100%" layoutH="138">
				<thead>
					<tr>
						<th align="center">序号</th>
						<th align="center">日期</th> 
						<th align="center">总订单</th> 

					</tr>
				</thead>
				<tbody>
					<s:iterator var="dayInfo" value="page.data" status="st">
						<tr target="sid_support" rel="<s:property value="#dayInfo.id" />">
							<th width="1%" align="center"><s:property value="page.pageSize * (page.currentPage-1) + #st.index + 1" />
							</th>
							<th width="5%" align="left"><s:property value="#dayInfo.createTime" />
							</th>
							<th width="5%" align="left"><s:property value="#dayInfo.allOrder" />
							</th> 
						
						</tr>
					</s:iterator>
				</tbody>
			</table>
			<div class="panelBar">
				<div class="pages">
					<span>共${page.totalNum }条，共${page.totalPage }页</span>
				</div>
				<div class="pagination" targetType="navTab" totalCount="${page.totalNum }" numPerPage="${page.pageSize }" pageNumShown="10" currentPage="${page.currentPage }"></div>
			</div>
		</div>
		
	</form>
</c:if>
<c:if test="${code==0}">
	${message}
</c:if>